﻿using System;
using System.Collections.Generic;
using System.Text;
using GuessTicketClass.Entity;
using GuessTicketClass.Config;

namespace GuessTicketClass.Common
{
    /// <summary>
    /// 彩票规则列表
    /// </summary>
   public class TicketParaList
    {
       public TicketParaList()
       { }


       public Dictionary<int, TicketParaInfo> GetTicketParaList()
       {
           // 彩票规则 1-33
           TicketNums tr = ConfigAccess<TicketNums>.GetConfig();

           Dictionary<int, TicketParaInfo> ruleList = new Dictionary<int, TicketParaInfo>();

           foreach (int item in tr.NumList)
           {
               if (ruleList.ContainsKey(item))
               {
                   continue;
               }
               ruleList.Add(item, new TicketParaInfo());
           }

           return ruleList;


       }







    }
}
